package io.coderyeah.ymcc.dto;

import io.coderyeah.ymcc.query.BaseQuery;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SearchParamDto extends BaseQuery {
    /*收费or免费*/
    private String chargeName;// 	null
    /*课程类型id */
    private Long courseTypeId;// 	null
    /*登记*/
    private String gradeName;// 	null

    private BigDecimal priceMax;// 	null
    private BigDecimal priceMin;// 	null
    /*排序的字段 xl pl jg rq xp*/
    private String sortField;// 	"rq"
    /*排序的方式   desc*/
    private String sortType;// 	"desc"
}
